package com.zhuizikejithreeig.cn.utils;

import android.widget.Toast;

import com.zhuizikejithreeig.cn.threeigkeji.CompontApplayCation;


/**
 * Created by 赵航 on 2018/1/16.
 */

public class ToastMake {
    private static Toast toast;
    public static void showToast(String text){
        if (toast==null){
            toast = Toast.makeText(CompontApplayCation.context, text, Toast.LENGTH_LONG);
        }else {
            toast.setText(text);
        }
        toast.show();
    }
}
